package com.ct.factory;

import java.math.BigDecimal;
import java.util.Date;

import com.ct.entity.po.Travel;

public class TravelFactory {

    public static Travel createTravel(String travelReason, String travelDetail, Date applyDate, Date startDate,
            Date endDate, BigDecimal foodCost, BigDecimal transportCost, BigDecimal hotelCost, String costDetail,
            BigDecimal advancePayment, String userId) {
        return new Travel(null, travelReason, travelDetail, applyDate, startDate, endDate, foodCost, transportCost,
                hotelCost, costDetail, advancePayment, userId);
    }
}
